using System.Collections.Generic;
using ProtoBuf;

namespace NetMessage{
    [ProtoContract]
    public class C2SMailList : IProto {
    }

    [ProtoContract]
    public class S2CMailList : IProto {
        [ProtoMember(1,Name = @"mail_list")]
        public Dictionary<long,MailData> MailList { get; set; }
    }

    [ProtoContract]
    public class S2CUpdateMail : IProto {
        [ProtoMember(1,Name = @"mail_list")]
        public List<MailData> MailList { get; set; }
    }

    [ProtoContract]
    public class C2SMailRead : IProto {
        [ProtoMember(1, Name = @"id")]
        public long Id { get; set; }
    }

    [ProtoContract]
    public class C2SMailLock : IProto {
        [ProtoMember(1, Name = @"id")]
        public long Id { get; set; }
    }

    [ProtoContract]
    public class C2SMailReward : IProto {
        [ProtoMember(1,Name = @"mail_id_list")]
        public List<long> MailIdList { get; set; }
    }

    [ProtoContract]
    public class C2SMailMark : IProto {
        [ProtoMember(1, Name = @"id")]
        public long Id { get; set; }
    }

    [ProtoContract]
    public class C2SMailDel : IProto {
        [ProtoMember(1,Name = @"mail_id_list")]
        public List<long> MailIdList { get; set; }
    }

    [ProtoContract]
    public class S2CMailDel : IProto {
        [ProtoMember(1,Name = @"mail_id_list")]
        public List<long> MailIdList { get; set; }
    }

}

